import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/global.css'
import './plugins/element'
import axios from 'axios'
import Header from './components/Header'
import DataList from './components/DataList'
import 'element-ui/lib/theme-chalk/index.css'
import Search from './components/Search'
import VueQuillEditor from 'vue-quill-editor'
import './mock/mock'
import './mock/mock1'

// 编辑框的样式文件
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.component('headNav', Header)
Vue.component('data-list', DataList)
Vue.component('search-l', Search)
// console.log(Vue)
Vue.use(VueQuillEditor /* { default global options } */)
Vue.prototype.$http = axios

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
